package com.ly.ocw.entity.weixin;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class WeixinCard {

	public WeixinCard() {
	}

	private Long id; //
	private String cardId; //
	private String cardName; //
	private String status; //
	private String cardJson; //
	private Date createDate; //
	private Long weixinPublicId; // 微信公众号id

	public String getCardName() {
		return cardName;
	}

	public void setCardName(String cardName) {
		this.cardName = cardName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	/**
     *
     **/
	public Long getId() {
		return id;
	}

	/**
	 *
	 **/
	public void setId(Long id) {
		this.id = id;
	}

	/**
     *
     **/
	public String getCardId() {
		return cardId;
	}

	/**
	 *
	 **/
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	/**
     *
     **/
	public String getCardJson() {
		return cardJson;
	}

	/**
	 *
	 **/
	public void setCardJson(String cardJson) {
		this.cardJson = cardJson;
	}

	/**
     *
     **/
	public Date getCreateDate() {
		return createDate;
	}

	/**
	 *
	 **/
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	/**
	 * 微信公众号id
	 **/
	public Long getWeixinPublicId() {
		return weixinPublicId;
	}

	/**
	 * 微信公众号id
	 **/
	public void setWeixinPublicId(Long weixinPublicId) {
		this.weixinPublicId = weixinPublicId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	// ++++++++++++++++++++++++++++++++++++++++++++++++
	private String users;

	public String getUsers() {
		return users == null ? "0" : users;
	}

	public void setUsers(String users) {
		this.users = users;
	}

}